package com.service;

import com.exception.CustomException;
import com.pojo.Ordersetting;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface OrdersettingService {
    //批量添加数据
    void addBatch(List<Ordersetting> ordersetting) throws CustomException;
    //2.根据年份和月份获取预约设置的数据
    List<Map> getOrderSettingByDate(Integer year,Integer month);
    //日期获取预约设置
    void setOrderSettingByDate(Ordersetting os) throws CustomException;
    Ordersetting queryByDate(Date date);

    List<Ordersetting> selectByDate();


}
